package sz;

import sz.factory.IOperationFactory;

public class Operationcheng extends Operation implements IOperationFactory {
    @Override
    public Operation createOperation() {
        return new Operationcheng();
    }

    //乘法
    @Override
    public double getResult() {
        return num2*num1;
    }
}
